package com.hksj.lntm.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author fjt
 * @data 2024/11/11 14:43
 * @describe
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PropertyModelVO implements Serializable {

    private static final long serialVersionUID = 7531988158724987272L;

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("属性key")
    private String property;

    @ApiModelProperty("属性名称")
    private String propertyName;

    @ApiModelProperty("上报值")
    private String value;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("报警状态(0=报警中 1=已恢复 2=未报警)")
    private Integer status;

    @ApiModelProperty("当前液位深度百分比(值为百分比的值，即乘以100后的值)")
    private BigDecimal depthProportion;


}
